package com.aivin.firplugin.bean;

import com.google.gson.annotations.SerializedName;

/**
 *  APP上传凭证
 */
public class AppDetail {
    private String user_system_default_download_domain;
    private String id;
    private String type;
    @SerializedName("short")
    private String shortX;
    private String download_domain;
    private boolean download_domain_https_ready;
    private String app_user_id;
    private String storage;
    private String form_method;
    private CertBean cert;

    public String getUser_system_default_download_domain() {
        return user_system_default_download_domain;
    }

    public void setUser_system_default_download_domain(String user_system_default_download_domain) {
        this.user_system_default_download_domain = user_system_default_download_domain;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getShortX() {
        return shortX;
    }

    public void setShortX(String shortX) {
        this.shortX = shortX;
    }

    public String getDownload_domain() {
        return download_domain;
    }

    public void setDownload_domain(String download_domain) {
        this.download_domain = download_domain;
    }

    public boolean isDownload_domain_https_ready() {
        return download_domain_https_ready;
    }

    public void setDownload_domain_https_ready(boolean download_domain_https_ready) {
        this.download_domain_https_ready = download_domain_https_ready;
    }

    public String getApp_user_id() {
        return app_user_id;
    }

    public void setApp_user_id(String app_user_id) {
        this.app_user_id = app_user_id;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public String getForm_method() {
        return form_method;
    }

    public void setForm_method(String form_method) {
        this.form_method = form_method;
    }

    public CertBean getCert() {
        return cert;
    }

    public void setCert(CertBean cert) {
        this.cert = cert;
    }

    public static class CertBean {
        private IconBean icon;
        private BinaryBean binary;
        private MqcBean mqc;
        private String support;
        private String prefix;

        public IconBean getIcon() {
            return icon;
        }

        public void setIcon(IconBean icon) {
            this.icon = icon;
        }

        public BinaryBean getBinary() {
            return binary;
        }

        public void setBinary(BinaryBean binary) {
            this.binary = binary;
        }

        public MqcBean getMqc() {
            return mqc;
        }

        public void setMqc(MqcBean mqc) {
            this.mqc = mqc;
        }

        public String getSupport() {
            return support;
        }

        public void setSupport(String support) {
            this.support = support;
        }

        public String getPrefix() {
            return prefix;
        }

        public void setPrefix(String prefix) {
            this.prefix = prefix;
        }

        public static class IconBean {
            private String key;
            private String token;
            private String upload_url;
            private CustomHeadersBean custom_headers;
            private CustomCallbackDataBean custom_callback_data;

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public String getUpload_url() {
                return upload_url;
            }

            public void setUpload_url(String upload_url) {
                this.upload_url = upload_url;
            }

            public CustomHeadersBean getCustom_headers() {
                return custom_headers;
            }

            public void setCustom_headers(CustomHeadersBean custom_headers) {
                this.custom_headers = custom_headers;
            }

            public CustomCallbackDataBean getCustom_callback_data() {
                return custom_callback_data;
            }

            public void setCustom_callback_data(CustomCallbackDataBean custom_callback_data) {
                this.custom_callback_data = custom_callback_data;
            }

            public static class CustomHeadersBean {
            }

            public static class CustomCallbackDataBean {

                private String original_key;

                public String getOriginal_key() {
                    return original_key;
                }

                public void setOriginal_key(String original_key) {
                    this.original_key = original_key;
                }
            }
        }

        public static class BinaryBean {

            private String key;
            private String token;
            private String upload_url;
            private CustomHeadersBeanX custom_headers;

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public String getUpload_url() {
                return upload_url;
            }

            public void setUpload_url(String upload_url) {
                this.upload_url = upload_url;
            }

            public CustomHeadersBeanX getCustom_headers() {
                return custom_headers;
            }

            public void setCustom_headers(CustomHeadersBeanX custom_headers) {
                this.custom_headers = custom_headers;
            }

            public static class CustomHeadersBeanX {
            }
        }

        public static class MqcBean {
            private int total;
            private int used;
            private boolean is_mqc_availabled;

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public int getUsed() {
                return used;
            }

            public void setUsed(int used) {
                this.used = used;
            }

            public boolean isIs_mqc_availabled() {
                return is_mqc_availabled;
            }

            public void setIs_mqc_availabled(boolean is_mqc_availabled) {
                this.is_mqc_availabled = is_mqc_availabled;
            }
        }
    }
}
